<%@ page language="java" import="java.util.*" pageEncoding="UTF-8"%>
<%@ taglib uri="/struts-tags" prefix="s"%>

<html>
  <head>
    
    <title>sysFile manage</title>
    
	<meta http-equiv="pragma" content="no-cache">
	<meta http-equiv="cache-control" content="no-cache">
	<meta http-equiv="expires" content="0">    
	<!--
	<link rel="stylesheet" type="text/css" href="styles.css">
	-->

  </head>
  
  <body>
  	
  	<div id="operator">
	</div>
	<!--/end operator  -->
	
	<s:form  action="index" namespace="/admin/book" method="post">
	<div id="query">
		文件名称：<s:textfield name="query.query['lk_title_s']"  />
		<input type="submit" value="查询"/>
	</div>
	</s:form>
	<!--/end page query -->
		
	<div id="pageItems">
	<table id="pageTable">
		<tr>
			<th id="id">序号</th>
			<th>fileTitle</th>
			<th>fileType</th>
			<th>fileName</th>
			<th>size</th>
			<th>行为</th>
		</tr>
		<s:iterator value="page.items">
		<tr>
			<td><s:property value="id"/></td>
			<td><s:property value="fileTitle"/></td>
			<td><s:property value="fileType"/></td>
			<td><s:property value="fileName"/></td>
			<td><s:property value="size"/></td>
			<td>
				<!-- 行为  -->
				<a target="_blank" href="
				<s:url action="view" namespace="/admin/sysFile"><s:param name="sysFile.id" value="%{id}" /></s:url>
				">查看文件</a>
				<a target="_blank" href="
				<s:url action="download" namespace="/ajax/download"><s:param name="sysFileId" value="%{id}" /></s:url>
				">下载文件</a>
			</td>
		</tr>
		</s:iterator>
	</table>
	</div>
	<!--/end page item -->

	<!-- 通用分页 -->
	<%@include file="\WEB-INF\template\page\pageButton.jsp" %>	
	
	</body>
</html>
